<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibQQt: QQtOpenGLWidget Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibQQt
   &#160;<span id="projectnumber">v3.1</span>
   </div>
   <div id="projectbrief">开源、跨平台Qt应用程序框架中间件</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="class_q_qt_open_g_l_widget-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">QQtOpenGLWidget Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>The <a class="el" href="class_q_qt_open_g_l_widget.html" title="The QQtOpenGLWidget class 为了简便，用这一个，QGLWidget. ">QQtOpenGLWidget</a> class 为了简便，用这一个，QGLWidget.  
 <a href="class_q_qt_open_g_l_widget.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="qqtopenglwidget_8h_source.html">qqtopenglwidget.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for QQtOpenGLWidget:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_q_qt_open_g_l_widget.png" usemap="#QQtOpenGLWidget_map" alt=""/>
  <map id="QQtOpenGLWidget_map" name="QQtOpenGLWidget_map">
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ac7b852b2db5b23e1d47147fc0faafb50"><td class="memItemLeft" align="right" valign="top"><a id="ac7b852b2db5b23e1d47147fc0faafb50"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>QQtOpenGLWidget</b> (QWidget *parent=nullptr)</td></tr>
<tr class="separator:ac7b852b2db5b23e1d47147fc0faafb50"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0d2ea963f768cad188417d02e9f1a04e"><td class="memItemLeft" align="right" valign="top"><a id="a0d2ea963f768cad188417d02e9f1a04e"></a>
QGLFunctions *&#160;</td><td class="memItemRight" valign="bottom"><b>glFuncs</b> () const</td></tr>
<tr class="separator:a0d2ea963f768cad188417d02e9f1a04e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a77c72ece8c9ca8bcef1c7881f60f1abf"><td class="memItemLeft" align="right" valign="top"><a id="a77c72ece8c9ca8bcef1c7881f60f1abf"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>useCustomContext</b> (QGLContext *context)</td></tr>
<tr class="separator:a77c72ece8c9ca8bcef1c7881f60f1abf"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a506d451fd93c86357dd592bf17a33847"><td class="memItemLeft" align="right" valign="top"><a id="a506d451fd93c86357dd592bf17a33847"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>initializeGL</b> () override</td></tr>
<tr class="separator:a506d451fd93c86357dd592bf17a33847"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf0d60b4a6e63b509bb0b107241ca119"><td class="memItemLeft" align="right" valign="top"><a id="acf0d60b4a6e63b509bb0b107241ca119"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>resizeGL</b> (int w, int h) override</td></tr>
<tr class="separator:acf0d60b4a6e63b509bb0b107241ca119"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4fda7dab434c8db8f91a4130696a2f8e"><td class="memItemLeft" align="right" valign="top"><a id="a4fda7dab434c8db8f91a4130696a2f8e"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>paintGL</b> () override</td></tr>
<tr class="separator:a4fda7dab434c8db8f91a4130696a2f8e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afd8be7063a3a421c476195105dae0edd"><td class="memItemLeft" align="right" valign="top"><a id="afd8be7063a3a421c476195105dae0edd"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>initializeOverlayGL</b> () override</td></tr>
<tr class="separator:afd8be7063a3a421c476195105dae0edd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a258c0ef83db7ac75b2548f14339580"><td class="memItemLeft" align="right" valign="top"><a id="a0a258c0ef83db7ac75b2548f14339580"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>resizeOverlayGL</b> (int w, int h) override</td></tr>
<tr class="separator:a0a258c0ef83db7ac75b2548f14339580"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab7e9a60837e16af7c4c4bbcd3ccfb411"><td class="memItemLeft" align="right" valign="top"><a id="ab7e9a60837e16af7c4c4bbcd3ccfb411"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>paintOverlayGL</b> () override</td></tr>
<tr class="separator:ab7e9a60837e16af7c4c4bbcd3ccfb411"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b8ada1eabd86bda334d7e37ffae3a9d"><td class="memItemLeft" align="right" valign="top"><a id="a9b8ada1eabd86bda334d7e37ffae3a9d"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>mousePressEvent</b> (QMouseEvent *event) override</td></tr>
<tr class="separator:a9b8ada1eabd86bda334d7e37ffae3a9d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9fa1422ef2c17db60619ce1dc86d746b"><td class="memItemLeft" align="right" valign="top"><a id="a9fa1422ef2c17db60619ce1dc86d746b"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>mouseReleaseEvent</b> (QMouseEvent *event) override</td></tr>
<tr class="separator:a9fa1422ef2c17db60619ce1dc86d746b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a644890826eb85cdf28926d5c9c6d3fa5"><td class="memItemLeft" align="right" valign="top"><a id="a644890826eb85cdf28926d5c9c6d3fa5"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>mouseDoubleClickEvent</b> (QMouseEvent *event) override</td></tr>
<tr class="separator:a644890826eb85cdf28926d5c9c6d3fa5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The <a class="el" href="class_q_qt_open_g_l_widget.html" title="The QQtOpenGLWidget class 为了简便，用这一个，QGLWidget. ">QQtOpenGLWidget</a> class 为了简便，用这一个，QGLWidget. </p>
<p>现在遇到的问题： QOpenGLWidget need? QCoreApplication::setAttribute(Qt::AA_UseDesktopOpenGL); 程序直接去调用了OpenGL ES库，而在OpenGL ES库中是不支持glBegin()等函数的，所以我们需要让程序去连接到OpenGL库 Windows平台 支持 Android平台 </p>
</div><hr/>The documentation for this class was generated from the following files:<ul>
<li>R:/Develop/a0-develop/LibQQt/src/exquisite/openglwidgets/<a class="el" href="qqtopenglwidget_8h_source.html">qqtopenglwidget.h</a></li>
<li>R:/Develop/a0-develop/LibQQt/src/exquisite/openglwidgets/qqtopenglwidget.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
